broadway: Correct handling of opaque colors
authorAlexander Larsson <alexl@redhat.com>
Wed, 26 Aug 2020 10:18:28 +0000 (12:18 +0200)
committerAlexander Larsson <alexl@redhat.com>
Wed, 26 Aug 2020 10:18:28 +0000 (12:18 +0200)
commitfcaa6e98d060fc1166e9e37dcdae496581327766
treeccf59bb501d36cf1ebeb2d4d6135b48ae7dddcd0
parentf48a1e406915f45d8b80c73521077916082b8208
broadway: Correct handling of opaque colors

If alpha is 255, we use rgb() instead of rgba(), not if alpha is 0.
This makes the title bar gradient go from fully transparent to blue
rather than black to blue..
gdk/broadway/broadway.js